/* a basic 2D vector class */

#ifndef VECTOR2D_H
#define VECTOR2D_H

#include "Definitions.h"

namespace ms{
	class Vector2D
	{
		public :
			Vector2D();
			Vector2D(real x_, real y_);
			real x;
			real y;
			void set(real x_, real y_);
			void set(Vector2D * v);
			void add(real x_, real y_);
			void add(Vector2D * v);
			void mult(real n);
			void div(real n);
	};
}
#endif
